<include file="public@header" />
</head>
<body style="background-color: #E5F3E6">	
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('equipment/equipmentIndex')}">设备</a></li>
			<li><a href="{:url('equipment/equipmentAdd')}">添加设备</a></li>
		</ul>
		<form class="well form-inline margin-top-20" method="get" 
		action="{:url('equipment/equipmentIndex')}">
            设备名称:
            <input type="text" class="form-control" name="equipmentName" style="width: 180px;" value="" placeholder="请输入设备名称">
            
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('User/index')}">清空</a>
        </form>
		<form action="" method="post" class="margin-top-20">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th align="left">设备编号</th>
						<th align="left">设备名称</th>
						<th align="left">设备类别</th>
						<th align="left">所在部位</th>
						<th align="left">所属单位</th>
						<th align="left">是否特种设备</th>
						<th align="left">备注</th>
						<th width="160">{:lang('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="data" item="vo">
					<tr>
						<td>{$vo.equipmentCode}</td>
						<td>{$vo.equipmentName}</td>
						<td>{$vo.equimentType}</td>
						<td>{$vo.equipmentPlace}</td>
						<td>{$vo.departID}</td>
						<td>{$vo.isSpecial}</td>
						<td>{$vo.memos}</td>

						<td>
							<a class="btn btn-xs btn-primary" href="{:url('equipment/equipmentEdit',array('equipmentID'=>$vo['equipmentID']))}">{:lang('EDIT')}</a>
							<!--js-ajax-delete-->
							<a class="btn btn-xs btn-danger "
							 href="{:url('equipment/equipmentDelete',array('equipmentID'=>$vo['equipmentID']))}">{:lang('DELETE')}</a>
						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>